package com.design.pattern.observe;

/**
 * @Projectname: Design-pattern
 * @Filename: HexObserver
 * @Author: FANSEA
 * @Data:2024/4/22 11:00
 */
public class HexObserver implements Observer {
    @Override
    public void update(Subject subject) {
        System.out.println("HexObserver: State is " + subject.getState());
    }
}
